package com.lsfb.duishangbaos.MoneyManage;

import android.content.Context;

import com.lsfb.duishangbaos.R;
import com.zgscwjm.lsfbbasetemplate.adapter.CommonAdapter;
import com.zgscwjm.lsfbbasetemplate.adapter.ViewHolder;

import java.util.List;

/**
 * Created by Administrator on 2017/5/12 0012.
 */

public class DrawMoneyAdapter extends CommonAdapter<MyDetailBean.ListBean> {
    public DrawMoneyAdapter(Context context, int layoutId, List<MyDetailBean.ListBean> list) {
        super(context, layoutId, list);
    }

    @Override
    public void convert(ViewHolder holder, MyDetailBean.ListBean model) {
        holder.setText(R.id.item_text_money, "-" + model.getCash());
        holder.setText(R.id.item_text_time, model.getC_time());
    }
}
